package com.st.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;


//订单表
@Data
@NoArgsConstructor
public class Order {
    private String orderNo;//订单号
    private Integer userId; //用户id
    private BigDecimal orderMoney;//订单总金额
    private Integer orderStatus;//订单状态
    private Integer preStatus;//订单前置状态
    private Timestamp createTime;//订单创建时间
    private Integer pageNum;//页码
    private Integer pageSize; //单页展示行数
    public Order(String orderNo){
        this.orderNo=orderNo;
    }
}
